<?php
//trim(string $string,string $charachers="\n\r\t\v\x00"):string
//trim — 删除字符串的空白字符（或者其他字符）

$text = "applecarrot\t\r";
$sanatizie = trim($text);
var_dump($sanatizie);
$binary = "\x09Example string\x0A";
$clean = trim($binary, "\x00..\x1F");
var_dump($clean);
